package com.vikutorika.servlet;

import com.vikutorika.util.ParamUtil;
import com.vikutorika.vo.FriendVo;
import com.vikutorika.vo.ResultVo;
import com.vikutorika.service.FriendService;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@WebServlet("/friend")
public class FriendServlet extends BaseServlet{
	void query(HttpServletRequest req, HttpServletResponse resp){
		FriendVo friendVo = ParamUtil.paramToBean(req, FriendVo.class);
		ResultVo resultVo = FriendService.query(friendVo);
	}
}
